package jp.eisbahn.mgapi.auth;

/**
 * This interface defines the method to get the uthorization code.
 * @author Yoichiro Tanaka
 */
public interface AuthorizationCodeListener {

    /**
     * Set the authorization code.
     * @param authorizationCode The authorization code mixi server issued.
     */
    void set(String authorizationCode);

    /**
     * Set the error message if some errors occurred.
     * @param message The error message.
     */
    void error(String message);

}
